Documentation
Code
GitLab
@geogirafe/lib-geoportal
tools/auth/gmfmanager
GMFManager
Class GMFManager
Hierarchy (
View Summary
)
GirafeSingleton
GMFManager
Index
Constructors
constructor
Accessors
gmf
Config
For
Gmf
Auth
gmf
Config
ForOAuth
state
Methods
get
User
Info
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
login
With
Token
logout
get
Instance
Constructors
constructor
new
GMFManager
(
type
:
string
)
:
GMFManager
Parameters
type
:
string
Returns
GMFManager
Accessors
gmf
Config
For
Gmf
Auth
get
gmfConfigForGmfAuth
()
:
{
checkSessionOnLoad
:
boolean
;
loginRequired
:
boolean
;
url
:
string
;
}
Returns
{
checkSessionOnLoad
:
boolean
;
loginRequired
:
boolean
;
url
:
string
}
gmf
Config
ForOAuth
get
gmfConfigForOAuth
()
:
{
anonymousUsername
:
string
;
loginUrl
:
string
;
logoutUrl
:
string
;
userInfoUrl
:
string
;
}
Returns
{
anonymousUsername
:
string
;
loginUrl
:
string
;
logoutUrl
:
string
;
userInfoUrl
:
string
;
}
state
get
state
()
:
State
Returns
State
Methods
get
User
Info
getUserInfo
()
:
Promise
<
void
>
Returns
Promise
<
void
>
is
Null
Or
Undefined
isNullOrUndefined
(
val
:
unknown
)
:
val
is
undefined
|
null
Parameters
val
:
unknown
Returns
val
is
undefined
|
null
is
Null
Or
Undefined
Or
Blank
isNullOrUndefinedOrBlank
(
val
:
unknown
)
:
val
is
undefined
|
null
|
""
Parameters
val
:
unknown
Returns
val
is
undefined
|
null
|
""
login
With
Token
loginWithToken
()
:
Promise
<
void
>
Returns
Promise
<
void
>
logout
logout
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Static
get
Instance
getInstance
<
T
>
(
this
:
Constructor
<
T
>
)
:
T
Type Parameters
T
Parameters
this
:
Constructor
<
T
>
Returns
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
gmf
Config
For
Gmf
Auth
gmf
Config
ForOAuth
state
Methods
get
User
Info
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
login
With
Token
logout
get
Instance
@geogirafe/lib-geoportal
Loading...