from
fun <S : Any, P : Any> from(name: String, config: OAuthSessionFlowConfig<S, P>, principalType: KClass<P>, sessionTypeInfo: TypeInfo): OAuth2SessionFlow<S, P>(source)
Creates a session-backed OAuth 2.0 flow from OAuthSessionFlowConfig.
This API is intended for integrations that need explicit session and principal type information.
Return
OAuth 2.0 flow with typed session authentication.
Parameters
name
flow name used to derive authentication provider names.
config
OAuth session flow configuration.
principalType
route principal type.