SeunAdelekan/Kanary

View on GitHub
src/main/com/iyanuadelekan/kanary/app/security/SecurityManager.kt

Summary

Maintainability
A
0 mins
Test Coverage
package com.iyanuadelekan.kanary.app.security

import com.iyanuadelekan.kanary.app.adapter.service.security.SecurityService
import com.iyanuadelekan.kanary.app.framework.security.SecurityManager

/**
 * @author Iyanu Adelekan on 17/08/2018.
 */
object SecurityManager : SecurityManager {

    /**
     * Invoked to register a custom security service to the application.
     *
     * @param service - security service to be registered.
     */
    override fun registerService(service: SecurityService) {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    /**
     * Checks if a request is coming from a logged in user.
     *
     * @return [Boolean] - true if logged in and false otherwise.
     */
    override fun loggedIn(): Boolean {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    /**
     * Returns the credentials of the currently logged in user.
     */
    override fun getUser() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}