AtlassianApp
@appfire/fuse-auth-core • Docs
@appfire/fuse-auth-core / AtlassianApp
Class: AtlassianApp
Abstract class that serves as the base for the App class.
Extends
Constructors
new AtlassianApp()
new AtlassianApp(
key
,clientKey
,baseUrl
,oauthClientId
,sharedSecret
):AtlassianApp
Parameters
• key: string
• clientKey: string
• baseUrl: string
• oauthClientId: string
• sharedSecret: string
Returns
Overrides
Defined in
products/atlassian/atlassian.app.ts:40
Properties
clientKey
protected
clientKey:string
Inherited from
Defined in
eventType
protected
eventType:string
Inherited from
Defined in
fuseSecret
protected
fuseSecret:string
Inherited from
Defined in
key
protected
key:string
Inherited from
Defined in
oauthClientId
protected
oauthClientId:string
Inherited from
Defined in
productType
protected
productType:string
Inherited from
Defined in
sharedSecret
protected
sharedSecret:string
Inherited from
Defined in
Methods
getAccountId()
getAccountId():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:85
getAppInfo()
getAppInfo():
Promise
\<AppInfo
>
Returns
Promise
\<AppInfo
>
Defined in
products/atlassian/atlassian.app.ts:190
getBaseUrl()
getBaseUrl():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:51
getClaims()
getClaims(
token
):Claims
Parameters
• token: string
Returns
Inherited from
Defined in
getClientKey()
getClientKey():
string
Returns
string
Inherited from
Defined in
getCreatedAt()
getCreatedAt():
number
Returns
number
Defined in
products/atlassian/atlassian.app.ts:151
getDescription()
getDescription():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:77
getDisplayUrl()
getDisplayUrl():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:89
getDisplayUrlServicedeskHelpCenter()
getDisplayUrlServicedeskHelpCenter():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:93
getEntitlementId()
getEntitlementId():
undefined
|string
Returns
undefined
| string
Defined in
products/atlassian/atlassian.app.ts:166
getEntitlementNumber()
getEntitlementNumber():
undefined
|string
Returns
undefined
| string
Defined in
products/atlassian/atlassian.app.ts:169
getFilteredAppData()
getFilteredAppData():
GetAtlassianApp
Returns
Defined in
products/atlassian/atlassian.app.ts:200
getFuseSecret()
getFuseSecret():
string
Returns
string
Inherited from
Defined in
getHostVal()
getHostVal():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:159
getJwtToken()
getJwtToken(
apiPath
,method
):string
Parameters
• apiPath: string
• method: string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:65
getKey()
getKey():
string
Returns
string
Inherited from
Defined in
getLifecycleFunctionVersion()
getLifecycleFunctionVersion():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:163
getOauthClientId()
getOauthClientId():
string
Returns
string
Inherited from
Defined in
getOAuthToken()
getOAuthToken(
userAccountId
):Promise
\<string
>
Parameters
• userAccountId: string
Returns
Promise
\<string
>
Defined in
products/atlassian/atlassian.app.ts:55
getProductType()
getProductType():
string
Returns
string
Inherited from
Defined in
getRealm()
getRealm():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:73
getSen()
getSen():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:81
getSharedSecret()
getSharedSecret():
string
Returns
string
Inherited from
Defined in
getStatus()
getStatus():
string
Returns
string
Defined in
products/atlassian/atlassian.app.ts:69
getUpdatedAt()
getUpdatedAt():
number
Returns
number
Defined in
products/atlassian/atlassian.app.ts:155
setAccountId()
setAccountId(
accountId
):void
Parameters
• accountId: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:121
setBaseUrl()
setBaseUrl(
baseUrl
):void
Parameters
• baseUrl: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:97
setCreatedAt()
setCreatedAt(
createdAt
):void
Parameters
• createdAt: number
Returns
void
Defined in
products/atlassian/atlassian.app.ts:135
setDescription()
setDescription(
description
):void
Parameters
• description: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:113
setDisplayUrl()
setDisplayUrl(
displayUrl
):void
Parameters
• displayUrl: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:125
setDisplayUrlServicedeskHelpCenter()
setDisplayUrlServicedeskHelpCenter(
displayUrlServicedeskHelpCenter
):void
Parameters
• displayUrlServicedeskHelpCenter: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:129
setEntitlementId()
setEntitlementId(
entitlementId
):void
Parameters
• entitlementId: undefined
| string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:172
setEntitlementNumber()
setEntitlementNumber(
entitlementNumber
):void
Parameters
• entitlementNumber: undefined
| string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:175
setEventType()
setEventType(
eventType
):void
Parameters
• eventType: string
Returns
void
Inherited from
Defined in
setFuseSecret()
setFuseSecret(
fuseSecret
):void
Parameters
• fuseSecret: string
Returns
void
Inherited from
Defined in
setHostVal()
setHostVal(
hostVal
):void
Parameters
• hostVal: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:143
setLifecycleFunctionVersion()
setLifecycleFunctionVersion(
lifecycleFunctionVersion
):void
Parameters
• lifecycleFunctionVersion: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:147
setOauthclientId()
setOauthclientId(
oauthClientId
):void
Parameters
• oauthClientId: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:101
setProductType()
setProductType(
productType
):void
Parameters
• productType: string
Returns
void
Inherited from
Defined in
setRealm()
setRealm(
realm
):void
Parameters
• realm: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:109
setSen()
setSen(
sen
):void
Parameters
• sen: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:117
setStatus()
setStatus(
status
):void
Parameters
• status: string
Returns
void
Defined in
products/atlassian/atlassian.app.ts:105
setUpdatedAt()
setUpdatedAt(
updatedAt
):void
Parameters
• updatedAt: number
Returns
void
Defined in
products/atlassian/atlassian.app.ts:139
toJSON()
toJSON():
object
Converts the App object to JSON.
Returns
object
The JSON representation of the App object.
Inherited from
Defined in
validateFuseToken()
validateFuseToken(
token
):boolean
Validates a Fuse token.
Parameters
• token: string
The Fuse token to validate.
Returns
boolean
True if the token is valid, false otherwise.
Inherited from
Defined in
validateToken()
validateToken(
token
,request
):boolean
Abstract method for validating a token.
Parameters
• token: string
The token to validate.
• request: Request
The JWT request object.
Returns
boolean
True if the token is valid, false otherwise.