DBOPENIDUserAuthRoutes

Objective-C

@interface DBOPENIDUserAuthRoutes : NSObject

Swift

class DBOPENIDUserAuthRoutes : NSObject

Routes for the Openid namespace

  • An instance of the networking client that each route will use to submit a request.

    Declaration

    Objective-C

    @property (nonatomic, readonly) id<DBTransportClient> _Nonnull client;
  • Initializes the DBOPENIDUserAuthRoutes namespace container object with a networking client.

    Declaration

    Objective-C

    - (nonnull instancetype)init:(nonnull id<DBTransportClient>)client;
  • This route is used for refreshing the info that is found in the id_token during the OIDC flow. This route doesn’t require any arguments and will use the scopes approved for the given access token.

    Declaration

    Objective-C

    - (nonnull DBRpcTask<DBOPENIDUserInfoResult *, DBOPENIDUserInfoError *> *)
        userinfo;

    Return Value

    Through the response callback, the caller will receive a DBOPENIDUserInfoResult object on success or a DBOPENIDUserInfoError object on failure.