Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct {
TokenType uint16
Nonce []byte
Context []byte
KeyID []byte
Authenticator []byte
}
func (Token) AuthenticatorInput ¶
type TokenChallenge ¶
type TokenChallenge struct {
TokenType uint16
IssuerName string
RedemptionNonce []byte
OriginInfo []string
}
struct {
uint16_t token_type;
opaque issuer_name<1..2^16-1>;
opaque redemption_nonce<0..32>;
opaque origin_name<0..2^16-1>;
} TokenChallenge;
func UnmarshalTokenChallenge ¶
func UnmarshalTokenChallenge(data []byte) (TokenChallenge, error)
func (TokenChallenge) Equals ¶
func (c TokenChallenge) Equals(o TokenChallenge) bool
func (TokenChallenge) Marshal ¶
func (c TokenChallenge) Marshal() []byte
type TokenRequest ¶
type TokenRequestWithDetails ¶
type TokenRequestWithDetails interface {
TokenRequest
TruncatedTokenKeyID() uint8
Type() uint16
}
Click to show internal directories.
Click to hide internal directories.