Skip to main content

HS.BulkFHIR.Fetch.Util.AccessToken

class HS.BulkFHIR.Fetch.Util.AccessToken extends %Library.RegisteredObject

Class for holding and passing information related to the OAuth access token for a given Fetch RestClient instance.

Property Inventory

Method Inventory

Properties

property BFCTokenInfo as %DynamicObject;
%DynamicObject of information about the OAuth access token that was on the request to the Bulk FHIR endpoint itself.
Property methods: BFCTokenInfoGet(), BFCTokenInfoGetObject(), BFCTokenInfoGetObjectId(), BFCTokenInfoGetSwizzled(), BFCTokenInfoIsValid(), BFCTokenInfoNewObject(), BFCTokenInfoSet(), BFCTokenInfoSetObject(), BFCTokenInfoSetObjectId(), BFCTokenInfoUnSwizzle()
property FetchTokenInfo as %DynamicObject;
%DynamicObject of auxiliary information to use when requesting an access token from the resource server.
Property methods: FetchTokenInfoGet(), FetchTokenInfoGetObject(), FetchTokenInfoGetObjectId(), FetchTokenInfoGetSwizzled(), FetchTokenInfoIsValid(), FetchTokenInfoNewObject(), FetchTokenInfoSet(), FetchTokenInfoSetObject(), FetchTokenInfoSetObjectId(), FetchTokenInfoUnSwizzle()
property GrantType as %String;
OAuth grant type to use for obtaining the token from the resource server.
Property methods: GrantTypeDisplayToLogical(), GrantTypeGet(), GrantTypeIsValid(), GrantTypeLogicalToDisplay(), GrantTypeLogicalToOdbc(), GrantTypeNormalize(), GrantTypeSet()
property OAuthClientName as %String);
OAuth Client defined in IRIS.
Property methods: OAuthClientNameDisplayToLogical(), OAuthClientNameGet(), OAuthClientNameIsValid(), OAuthClientNameLogicalToDisplay(), OAuthClientNameLogicalToOdbc(), OAuthClientNameNormalize(), OAuthClientNameSet()
property TokenSessionId as %String);
OAuth SessionId to use for obtaining and retrieving tokens.
Property methods: TokenSessionIdDisplayToLogical(), TokenSessionIdGet(), TokenSessionIdIsValid(), TokenSessionIdLogicalToDisplay(), TokenSessionIdLogicalToOdbc(), TokenSessionIdNormalize(), TokenSessionIdSet()

Methods

classmethod Create(pOAuthClientName As %String, pTokenSessionId As %String, pGrantType As %String, pBFCTokenInfo As %DynamicObject, pFetchTokenInfo As %DynamicObject) as HS.BulkFHIR.Fetch.Util.AccessToken
Create an instance of this class, with all input explicitly specified.
classmethod CreateFromSession(pSession As HS.BulkFHIR.Session, pTokenSessionId As %String) as HS.BulkFHIR.Fetch.Util.AccessToken
Create an instance of this class, deriving much of the input from a BFC Session object.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab