auth

Paddy 2014-12-07 Parent:d43c3fbf00f3 Child:1fb166575e69

85:1dc4e152e3b0 Go to Latest

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