package
0.0.0-20200730195628-165278fcb9b0
Repository: https://github.com/libopenstorage/openstorage-sdk-auth.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseToDuration takes in a "human" type duration and changes it to time.Duration.
Token returns a signed JWT containing the claims provided.

# Constants

Day is the duration of hours in a day.
DayDef is the abbrevation for days.
HourDef is the abbrevation for hours.
MinuteDef is the abbrevation for minutes.
SecondDef is the abbrevation for seconds.
Year is the duration of days in a year.
YearDef is the abbrevation for years.

# Variables

DayRegex is a regular expression for finding days as a duration.
HourRegex is a regular expression for finding hours as a duration.
MinuteRegex is a regular expression for finding minutes as a duration.
SecondRegex is a regular expression for finding seconds as a duration.
YearRegex is a regular expression for finding years as a duration.

# Structs

Claims provides information about the claims in the token See https://openid.net/specs/openid-connect-core-1_0.html#IDToken for more information.
Options provide any options to apply to the token.
Signature describes the signature type using definitions from the jwt package.