Package springfox.documentation.builders
Class AuthorizationCodeGrantBuilder
- java.lang.Object
-
- springfox.documentation.builders.AuthorizationCodeGrantBuilder
-
public class AuthorizationCodeGrantBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AuthorizationCodeGrantBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthorizationCodeGrantbuild()AuthorizationCodeGrantBuildertokenEndpoint(java.util.function.Consumer<TokenEndpointBuilder> consumer)Updates token endpointAuthorizationCodeGrantBuildertokenEndpoint(TokenEndpoint tokenEndpoint)Deprecated.AuthorizationCodeGrantBuildertokenRequestEndpoint(java.util.function.Consumer<TokenRequestEndpointBuilder> consumer)Updates token request endpointAuthorizationCodeGrantBuildertokenRequestEndpoint(TokenRequestEndpoint tokenRequestEndpoint)Deprecated.
-
-
-
Method Detail
-
tokenRequestEndpoint
@Deprecated public AuthorizationCodeGrantBuilder tokenRequestEndpoint(TokenRequestEndpoint tokenRequestEndpoint)
Deprecated.Updates token request endpoint- Parameters:
tokenRequestEndpoint- - represents the token request endpoint along with the client id and secret- Returns:
- this
- Since:
- 3.0.0
Prefer fluent builder api
tokenRequestEndpoint(Consumer)
-
tokenRequestEndpoint
public AuthorizationCodeGrantBuilder tokenRequestEndpoint(@NonNull java.util.function.Consumer<TokenRequestEndpointBuilder> consumer)
Updates token request endpoint- Parameters:
consumer- - represents the token request endpoint along with the client id and secret- Returns:
- this
-
tokenEndpoint
@Deprecated public AuthorizationCodeGrantBuilder tokenEndpoint(TokenEndpoint tokenEndpoint)
Deprecated.Updates token endpoint- Parameters:
tokenEndpoint- - represents the token endpoint along with the token name- Returns:
- this
- Since:
- 3.0.0
Prefer fluent builder api
tokenEndpoint(Consumer)
-
tokenEndpoint
public AuthorizationCodeGrantBuilder tokenEndpoint(@NonNull java.util.function.Consumer<TokenEndpointBuilder> consumer)
Updates token endpoint- Parameters:
consumer- - represents the token endpoint along with the token name- Returns:
- this
-
build
public AuthorizationCodeGrant build()
-
-