auth

Paddy 2014-12-07 Parent:0a6e3f14b054 Child:c03b5eb3179e

85:1dc4e152e3b0 Go to Latest

auth/client_test.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