Bluestep JS Documentation
    Preparing search index...

    Class OAuth

    TODO

    TODO
    
    Index
    AbstractDataStore: typeof AbstractDataStore
    AbstractDataStoreFactory: typeof AbstractDataStoreFactory
    AbstractMemoryDataStore: typeof AbstractMemoryDataStore
    AccessMethod: typeof AccessMethod
    ClientAuthentication: typeof ClientAuthentication
    DataStoreFactory: DataStoreFactory
    MemoryDataStoreFactory: typeof MemoryDataStoreFactory
    • Returns a SessionDataStoreFactory

      Parameters

      • oauthProviderRow: FormEntry

        A Bluestep.Relate.FormEntry representing an OAuthProvider

      Returns SessionDataStoreFactory

    • gives you the state if you have it in the parameter, and then otherwise checks the session for it; if the session does not contain the state, it will return an empty optional.

      Returns Optional<string>

    • For an OAuth Provider's New User Url page: exchanges the newUserToken parameter the sign-in sent the browser here with for the new person's claims, as OpenID Connect UserInfo JSON. Empty when the token is missing, expired, already used, or was issued by another organization; the page must then refuse to create anyone. A token can be redeemed once, from any of the organization's domains, within 5 minutes of the sign-in. The claims are only ever available through this call, so a page that needs them across several requests (a form it shows, then posts) keeps them itself, e.g. in B.net.sessionData().

      Parameters

      • token: string

        The page's newUserToken parameter, e.g. B.net.request.optParameter("newUserToken").orElse("")

      Returns Optional<string>