gluu
公開メンバ関数 | 全メンバ一覧
org.xdi.oxauth.token.ws.rs.TokenRestWebService インタフェース
org.xdi.oxauth.token.ws.rs.TokenRestWebService の継承関係図
Inheritance graph
org.xdi.oxauth.token.ws.rs.TokenRestWebService 連携図
Collaboration graph

公開メンバ関数

Response requestAccessToken ( @FormParam("grant_type") @ApiParam(value="Grant type value, one of these: authorization_code, implicit, password, client_credentials, refresh_token as described in OAuth 2.0 [RFC6749]", required=true) String grantType, @FormParam("code") @ApiParam(value="Code which is returned by authorization endpoint. (For grant_type=authorization_code)", required=false) String code, @FormParam("redirect_uri") @ApiParam(value="Redirection URI to which the response will be sent. This URI MUST exactly match one of the Redirection URI values for the Client pre-registered at the OpenID Provider", required=false) String redirectUri, @FormParam("username") @ApiParam(value="End-User username.", required=false) String username, @FormParam("password") @ApiParam(value="End-User password.", required=false) String password, @FormParam("scope") @ApiParam(value="OpenID Connect requests MUST contain the openid scope value. If the openid scope value is not present, the behavior is entirely unspecified. Other scope values MAY be present. Scope values used that are not understood by an implementation SHOULD be ignored.", required=false) String scope, @FormParam("assertion") @ApiParam(value="Assertion", required=false) String assertion, @FormParam("refresh_token") @ApiParam(value="Refresh token", required=false) String refreshToken, @FormParam("client_id") @ApiParam(value="OAuth 2.0 Client Identifier valid at the Authorization Server.", required=false) String clientId, @FormParam("client_secret") @ApiParam(value="The client secret. The client MAY omit the parameter if the client secret is an empty string.", required=false) String clientSecret, @FormParam("code_verifier") @ApiParam(value="The client's PKCE code verifier.", required=false) String codeVerifier, @FormParam("ticket") String ticket, @FormParam("claim_token") String claimToken, @FormParam("claim_token_format") String claimTokenFormat, @FormParam("pct") String pctCode, @FormParam("rpt") String rptCode, @Context HttpServletRequest request, @Context SecurityContext sec)
 

詳解

Provides interface for token REST web services

著者
Javier Rojas Blum
Yuriy Zabrovarnyy

関数詳解

◆ requestAccessToken()

Response org.xdi.oxauth.token.ws.rs.TokenRestWebService.requestAccessToken ( @FormParam("grant_type") @ApiParam(value="Grant type value, one of these: authorization_code, implicit, password, client_credentials, refresh_token as described in OAuth 2.0 [RFC6749]", required=true) String  grantType,
@FormParam("code") @ApiParam(value="Code which is returned by authorization endpoint. (For grant_type=authorization_code)", required=false) String  code,
@FormParam("redirect_uri") @ApiParam(value="Redirection URI to which the response will be sent. This URI MUST exactly match one of the Redirection URI values for the Client pre-registered at the OpenID Provider", required=false) String  redirectUri,
@FormParam("username") @ApiParam(value="End-User username.", required=false) String  username,
@FormParam("password") @ApiParam(value="End-User password.", required=false) String  password,
@FormParam("scope") @ApiParam(value="OpenID Connect requests MUST contain the openid scope value. If the openid scope value is not present, the behavior is entirely unspecified. Other scope values MAY be present. Scope values used that are not understood by an implementation SHOULD be ignored.", required=false) String  scope,
@FormParam("assertion") @ApiParam(value="Assertion", required=false) String  assertion,
@FormParam("refresh_token") @ApiParam(value="Refresh token", required=false) String  refreshToken,
@FormParam("client_id") @ApiParam(value="OAuth 2.0 Client Identifier valid at the Authorization Server.", required=false) String  clientId,
@FormParam("client_secret") @ApiParam(value="The client secret. The client MAY omit the parameter if the client secret is an empty string.", required=false) String  clientSecret,
@FormParam("code_verifier") @ApiParam(value="The client's PKCE code verifier.", required=false) String  codeVerifier,
@FormParam("ticket") String  ticket,
@FormParam("claim_token") String  claimToken,
@FormParam("claim_token_format") String  claimTokenFormat,
@FormParam("pct") String  pctCode,
@FormParam("rpt") String  rptCode,
@Context HttpServletRequest  request,
@Context SecurityContext  sec 
)

このインタフェース詳解は次のファイルから抽出されました: