Documentation ¶
Index ¶
- Constants
- func ExtractAudiences(aud []interface{}, scopes []interface{}, cid string) []string
- func JKUValidator(jkuUrl, uaaDomain string) (bool, error)
- func ValidateJWT(decodedToken *jwt.Token, clientId, xsAppName string) (bool, error)
- func ValidateJWTAudience(audiencesFromToken []interface{}, scopesFromToken []interface{}, ...) (bool, error)
- type JKUValidationFunc
- type JWTValidationFunc
Constants ¶
View Source
const DOT = "."
Variables ¶
This section is empty.
Functions ¶
func ExtractAudiences ¶
func JKUValidator ¶
func ValidateJWT ¶
takes a decodedToken and checks for XSUAA specific rules (mostly if the audience fits to the configured clientId, xsapp from the XSUAA binding
func ValidateJWTAudience ¶
Types ¶
type JKUValidationFunc ¶
type JWTValidationFunc ¶
Click to show internal directories.
Click to hide internal directories.