Class HereAccountCredentials
java.lang.Object
com.here.platform.data.client.base.http.settings.HereAccountCredentials
- All Implemented Interfaces:
Credentials,Serializable,scala.Equals,scala.Product
public final class HereAccountCredentials
extends Object
implements Credentials, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuild a new here account credentials. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HereAccountCredentialsfromConfig(com.typesafe.config.Config config) Parses the credentials contained in acom.typesafe.config.Configobject.scala.Option<String>Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
HereAccountCredentials
-
-
Method Details
-
fromConfig
Parses the credentials contained in acom.typesafe.config.Configobject.The
Configobject must contain the following keys:- here.client.id
- here.access.key.id
- here.access.key.secret
- here.token.endpoint.url
- here.token.scope
-
hereClientId
-
hereAccessKeyId
-
hereAccessKeySecret
-
hereTokenEndpointUrl
-
hereTokenScope
-