auth

Paddy 2014-12-07 Parent:42bc3e44f4fe Child:5bccbed6631b

85:1dc4e152e3b0 Go to Latest

auth/profile.go

Break client verification out, break token returns out. Break client verification out into a helper function to avoid rewriting it for pretty much every grant. Break token returns out into a new function as part of the GrantType, so that implicit grants can redirect with the token value. Split returning the token as JSON into its own exported function, which can be used in multiple grants. Return more relevant information to the template when a user is deciding whether or not to authorize a grant.

History