Skip to content

Commit

Permalink
update godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardsn committed May 24, 2024
1 parent 55ea77c commit 3eed39e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auth/client/iam/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ type HTTPClient struct {
httpClient core.HTTPRequestDoer
}

// OAuthAuthorizationServerMetadata retrieves the OAuth authorization server metadata for the given web DID.
// OAuthAuthorizationServerMetadata retrieves the OAuth authorization server metadata for the given oauth issuer.
// oauthIssuer is the oauth.AuthorizationServerMetadata.Issuer from which the metadata endpoint is derived.
func (hb HTTPClient) OAuthAuthorizationServerMetadata(ctx context.Context, oauthIssuer string) (*oauth.AuthorizationServerMetadata, error) {
metadataURL, err := oauth.IssuerIdToWellKnown(oauthIssuer, oauth.AuthzServerWellKnown, hb.strictMode)
if err != nil {
Expand Down

0 comments on commit 3eed39e

Please sign in to comment.