Class: Bosh::Director::Api::LocalUser

Inherits:
Struct
  • Object
show all
Defined in:
lib/bosh/director/api/local_identity_provider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



33
34
35
# File 'lib/bosh/director/api/local_identity_provider.rb', line 33

def password
  @password
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



33
34
35
# File 'lib/bosh/director/api/local_identity_provider.rb', line 33

def username
  @username
end

Instance Method Details

#clientObject



42
43
44
# File 'lib/bosh/director/api/local_identity_provider.rb', line 42

def client
  nil
end

#scopesObject



34
35
36
# File 'lib/bosh/director/api/local_identity_provider.rb', line 34

def scopes
  ['bosh.admin']
end

#username_or_clientObject



38
39
40
# File 'lib/bosh/director/api/local_identity_provider.rb', line 38

def username_or_client
  username
end