Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsiProvider ¶
func NewMsiProvider(client httputil.HttpClient) provider
Types ¶
type Msi ¶
type Msi struct { AccessToken string `json:"access_token"` ClientID string `json:"client_id"` ExpiresIn string `json:"expires_in"` ExpiresOn string `json:"expires_on"` // expressed in seconds from epoch ExtExpiresIn string `json:"ext_expires_in"` NotBefore string `json:"not_before"` Resource string `json:"resource"` TokenType string `json:"token_type"` }
func (*Msi) IsMsiTokenExpired ¶
check expiry of MSI token based on time
Click to show internal directories.
Click to hide internal directories.