Class Info |
|---|
public class WebAppIdentity extends AppIdentity Identity of a web app. |
Constructor Name |
|---|
public WebAppIdentity(String name, String domain) Constructs a WebAppIdentity object. |
Qualifier and Type |
Method Name and Description |
|---|---|
public String |
Obtains the domain name of a web app. |
Methods Inherited from com.huawei.hms.support.api.keyring.credential.AppIdentity |
|---|
Constructor |
|---|
public WebAppIdentity(String name, String domain) Constructs a WebAppIdentity object. |
Parameters
Name |
Description |
|---|---|
name |
App name. |
domain |
Domain name of a web app. NOTE:
The website URL is in https://domain[:optional_port] format, for example, https://developer.huawei.com. In the URL:
This parameter cannot contain paths, such as slashes (/). Subdomain names cannot use the credential. For example, if you set domain to https://developer.huawei.com, the website with the subdomain name being login.developer.huawei.com cannot use the shared credential. |