fireauth

package
v1.0.0-prototype.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2019 License: ISC Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScopedClient

type ScopedClient struct {
	// contains filtered or unexported fields
}

func GetClient

func GetClient(r *http.Request) (*ScopedClient, terror.Terror)

func (*ScopedClient) CheckAuthorizedAll

func (ab *ScopedClient) CheckAuthorizedAll(reqClaims ...string) (*auth.Token, terror.Terror)

func (*ScopedClient) CheckAuthorizedAny

func (ab *ScopedClient) CheckAuthorizedAny(reqClaims ...string) (*auth.Token, terror.Terror)

func (*ScopedClient) Context

func (ab *ScopedClient) Context() context.Context

func (*ScopedClient) GetToken

func (ab *ScopedClient) GetToken() (*auth.Token, terror.Terror)

func (*ScopedClient) GetUser

func (ab *ScopedClient) GetUser(subject string) (*auth.UserRecord, terror.Terror)

func (*ScopedClient) Users

func (ab *ScopedClient) Users(nextPageToken string) *auth.UserIterator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL