Class: OpenID::ConsumerAssociation

### Home Classes Methods

### In Files

- lib/openid/association.rb

### Parent

OpenID::Association

### Methods

- ::new
- #get_replace_after

### Class/Module Index

Quicksearch

- OpenID
- OpenID::Association
- OpenID::AssociationManager
- OpenID::AuthenticationError
- OpenID::BaseAssociationManager
- OpenID::Consumer
- OpenID::ConsumerAssociation
- OpenID::DiffieHelmanAssociator
- OpenID::DumbAssociationManager
- OpenID::NoArgumentsError
- OpenID::NoOpenIDArgs
- OpenID::ProtocolError
- OpenID::Request
- OpenID::Response
- OpenID::ServerAssociation
- OpenID::SimpleHTTPClient
- OpenID::UserCancelled
- OpenID::UserSetupNeeded
- OpenID::ValueMismatchError
- String
- String::OpenID
- Bignum
- Crypto_math
- DateTime
- Fixnum

No matching classes.

# OpenID::ConsumerAssociation

Represents an association established for a consumer.

### Attributes

server_url[RW]

### Public Class Methods

new(server_url, handle, secret, expiry, replace_after) click to toggle source

    # File lib/openid/association.rb, line 25
    def initialize(server_url, handle, secret, expiry, replace_after)
            super(handle, secret, expiry, replace_after)
            @server_url = server_url.to_s
    end

### Public Instance Methods

get_replace_after() click to toggle source

    # File lib/openid/association.rb, line 30
    def get_replace_after
            if @replace_after
                    return @replace_after
            else
                    return @expiry
            end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.