Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSessionToken ¶
func InstallSessionToken ¶
func ResetSession ¶
func ResetSession(sessionID string)
func StartSession ¶
func StartSession() string
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (*Validator) NewIdentity ¶
func (v *Validator) NewIdentity() *authmethod.Identity
func (*Validator) ValidateLogin ¶
func (v *Validator) ValidateLogin(ctx context.Context, loginToken string) (*authmethod.Identity, error)
ValidateLogin takes raw user-provided auth method metadata and ensures it is reasonable, provably correct, and currently valid. Relevant identifying data is extracted and returned for immediate use by the role binding process.
Depending upon the method, it may make sense to use these calls to continue to extend the life of the underlying token.
Returns auth method specific metadata suitable for the Role Binding process.
Click to show internal directories.
Click to hide internal directories.