Uses of Enum Class
cloud.opencode.base.oauth2.grant.GrantType
Packages that use GrantType
Package
Description
-
Uses of GrantType in cloud.opencode.base.oauth2
Methods in cloud.opencode.base.oauth2 that return GrantTypeModifier and TypeMethodDescriptionOAuth2Config.grantType()Returns the value of thegrantTyperecord component.Methods in cloud.opencode.base.oauth2 with parameters of type GrantTypeModifier and TypeMethodDescriptionSet the grant type 设置授权类型Set the grant type 设置授权类型Constructors in cloud.opencode.base.oauth2 with parameters of type GrantTypeModifierConstructorDescriptionOAuth2Config(String clientId, String clientSecret, String authorizationEndpoint, String tokenEndpoint, String userInfoEndpoint, String revocationEndpoint, String deviceAuthorizationEndpoint, String redirectUri, Set<String> scopes, GrantType grantType, boolean usePkce, Duration connectTimeout, Duration readTimeout, Duration refreshThreshold, String parEndpoint, String introspectionEndpoint, String resource, String expectedIssuer) Compact constructor with validation 带验证的紧凑构造器 -
Uses of GrantType in cloud.opencode.base.oauth2.grant
Subclasses with type arguments of type GrantType in cloud.opencode.base.oauth2.grantMethods in cloud.opencode.base.oauth2.grant that return GrantTypeModifier and TypeMethodDescriptionstatic GrantTypeParse grant type from string value 从字符串值解析授权类型static GrantTypeReturns the enum constant of this class with the specified name.static GrantType[]GrantType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of GrantType in cloud.opencode.base.oauth2.provider
Methods in cloud.opencode.base.oauth2.provider with parameters of type GrantTypeModifier and TypeMethodDescriptionCustomProvider.toConfig(String clientId, String clientSecret, String redirectUri, Set<String> additionalScopes, GrantType grantType) default OAuth2ConfigOAuth2Provider.toConfig(String clientId, String clientSecret, String redirectUri, Set<String> additionalScopes, GrantType grantType) Convert this provider to an OAuth2Config with custom settings 将此提供者转换为带有自定义设置的 OAuth2Config