Interface LineCredentials
- All Superinterfaces:
ChannelCredentials,LineCredentialsCommon
If the
channel property is set to LINE for this entry of the
channel_credentials array, you must include either the line_credentials
object or the line_enterprise_credentials object in the entry as well.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LineCredentials.Builderbuilder()Getting builderWhen an app contains multiple LINE or LINE Enterprise credentials, one of the credentials needs to be defined as the default.The secret for the LINE channel to which you are connecting.getToken()The token for the LINE channel to which you are connecting.
-
Method Details
-
getToken
String getToken()The token for the LINE channel to which you are connecting.Field is required
- Specified by:
getTokenin interfaceLineCredentialsCommon- Returns:
- token
-
getSecret
String getSecret()The secret for the LINE channel to which you are connecting.Field is required
- Specified by:
getSecretin interfaceLineCredentialsCommon- Returns:
- secret
-
getIsDefault
Boolean getIsDefault()When an app contains multiple LINE or LINE Enterprise credentials, one of the credentials needs to be defined as the default. Setting this property totruemarks the corresponding credentials as the default credentials.- Specified by:
getIsDefaultin interfaceLineCredentialsCommon- Returns:
- isDefault
-
builder
Getting builder- Returns:
- New Builder instance
-