package tokens | |
// TokenCreateResult contains the document structure returned from a Create call. | |
type TokenCreateResult struct { | |
response map[string]interface{} | |
tokenID string | |
} | |
// TokenID retrieves a token generated by a Create call from an token creation response. | |
func (r *TokenCreateResult) TokenID() (string, error) { | |
return r.tokenID, nil | |
} |