Declaration

class GSEndpoint

Declaration

@interface GSEndpoint : NSObject

Declaration

class GSEndpoint(NSObject)

Topics

Initializers

Instance Properties

  • The address of the endpoint URL excluding the user and password components.

  • A URL representation suitable for display. Excludes the URL scheme, user, and password components.

  • Whether the endpoint represents a valid URL.

  • The password of the endpoint, or an empty string, if none.

  • The user of the endpoint, or an empty string, if none.

Instance Methods

  • Deletes the associated Keychain item. Returns NO if accessing the Keychain failed, otherwise YES.

  • If user or password components are included in the address property, they are removed from the address value and instead overwrite the user or password properties.

  • Reads the password from the Keychain. Returns NO if accessing the Keychain failed, otherwise YES.

  • Writes the password to the Keychain. Returns NO if accessing the Keychain failed, otherwise YES.

Type Methods

Topics

Instance Properties

  • The address of the endpoint URL excluding the user and password components.

  • A URL representation suitable for display. Excludes the URL scheme, user, and password components.

  • Whether the endpoint represents a valid URL.

  • The password of the endpoint, or an empty string, if none.

  • The user of the endpoint, or an empty string, if none.

Instance Methods

Type Methods

Relationships

Inherits From

  • NSObject

Conforms To

  • ObjectiveC.NSObjectProtocol
  • Swift.CVarArg
  • Swift.CustomDebugStringConvertible
  • Swift.CustomStringConvertible
  • Swift.Equatable
  • Swift.Hashable

Relationships

Inherits From

  • NSObject