interface ChainAuth : AuthProvider
Chain several auth providers as if they were one. This is useful for cases where one want to authenticate across several providers, for example, database and fallback to passwd file.
abstract fun append(other: AuthProvider): ChainAuth
Appends a auth provider to the chain. |
|
abstract fun clear(): Unit
Clears the chain. |
|
open static fun create(): ChainAuth
Create a Chainable Auth Provider auth provider |
|
abstract fun remove(other: AuthProvider): Boolean
Removes a provider from the chain. |