Documentation ¶
Index ¶
Constants ¶
View Source
const (
WorldWideAuthority = "login.microsoftonline.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationContext ¶
type AuthenticationContext struct {
Authority *Authority
}
func NewAuthenticationContext ¶
func NewAuthenticationContext(tenant string, opts ...Option) (*AuthenticationContext, error)
type Authority ¶
type Authority struct { URL *url.URL Host string Tenant string // contains filtered or unexported fields }
func (*Authority) AuthorityURL ¶
func (*Authority) IsADFSAuthority ¶
type Option ¶
type Option func(*options)
func SetAuthorityHost ¶
func ValidateAuthority ¶
func ValidateAuthority() Option
Click to show internal directories.
Click to hide internal directories.