PasswordCredentialsToken converts a resource owner username and password pair into a token.

Per the RFC, this grant type should only be used "when there is a high degree of trust between the resource owner and the client (e.g., the client is part of the device operating system or a highly privileged application), and when other authorization grant types are not available." See for more info.

The HTTP client to use is derived from the context. If nil, http.DefaultClient is used.

PasswordCredentialsToken is referenced in 0 repositories